﻿using CKS2320.Common.Model;
using CKS2320.Domain.DBEntity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CKS2320.Service.Interface
{
    public interface ICksLargeTotalService
    {
        ResultReturn GetTotalData(TotalReq totalReq);
        /// <summary>
        /// 获取检测记录
        /// </summary>
        ResultReturn DetectionHistory(TotalReq totalReq);
        ResultReturn DetectionHistoryNew(TotalReq totalReq);
        /// <summary>
        /// 历史数据趋势
        /// </summary>
        /// <param name="req"></param>
        ResultReturn HistoryDataTrends(TrendsReq req);
        /// <summary>
        /// 检测记录导出
        /// </summary>
        /// <param name="req"></param>
        /// <returns></returns>
        ResultReturn ExportQueryList(TotalReq req);
        //导出新
        ResultReturn ExportQueryListNew(TotalReq req);
        //导出详细
        ResultReturn ExportQuerydetails(TotalReq req);

        ResultReturn GetThicknessList(TotalReq totalReq);

        /// <summary>
        /// 指标 公差带
        /// </summary>
        /// <returns></returns>
        IEnumerable<Indicatortolerancezone> GetIndicatorToleranceZones();
        ResultReturn GetToDoMesData();
    }
}
